package seaking

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// AlibabaSeakingImagetranslateAPIResponse 图片机器翻译 API返回值
// alibaba.seaking.imagetranslate
//
// 图片机器翻译
type AlibabaSeakingImagetranslateAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingImagetranslateAPIResponseModel
}

// AlibabaSeakingImagetranslateAPIResponseModel is 图片机器翻译 成功返回结果
type AlibabaSeakingImagetranslateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_imagetranslate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 译图url
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}
